Template.channel_panel_list_item.onRendered(function () {
  this.autorun(() => {
    if (this.data.result && this.data.result.channelId == Router.current().params.channelId) {
      this.$('.list-group-item').addClass('bg-light');
    } else {
      this.$('.list-group-item').removeClass('bg-light');
    }
  });
});
